package com.lusang.gift.clients;

import com.lusang.gift.domain.LoginUser;
import com.lusang.gift.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value = "GIFT-AUTH",fallbackFactory = com.lusang.gift.clients.LoginUserClientFallbackFactory.class)
public interface LoginUserClient {

    @PutMapping("/loginUser")
    AjaxResult addOrUpdate(LoginUser loginUser);
}
